package com.zbkj.crmeb.block.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_increment_history")
@ApiModel(value = "IncrementHistory对象", description = "增值历史")
public class IncrementHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "增值ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "价格")//售价
    private BigDecimal price;

    @ApiModelProperty(value = "类型")//售价
    private String category;

    @ApiModelProperty(value = "时间字符串")//售价
    private String timeStr;

    @ApiModelProperty(value = "创建时间")//售价
    private Timestamp createTime;

}
